package com.aratek.huwai.dao;

import com.aratek.huwai.model.ProgramEntity;
import org.springframework.data.repository.CrudRepository;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * @Author 姜寄羽
 * 节目处理
 * @Date 2018/1/26 15:30
 */
public interface ProgramRepository extends CrudRepository<ProgramEntity,Integer> {

    AtomicInteger KEY  = new AtomicInteger(1);

    int countByNameEquals(String name);

}
